home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / INCLUDES / I3DSHAB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-11  |  2.1 KB  |  48 lines

  1. /* $Id: I3DSHAB.H 1.6 1997/04/26 00:03:27 damien Exp $ */
  2. /*****************************************************************************\
  3. *                                                                             *
  4. * I3DShAB.h -                                                                                  *
  5. *   I3DShEnvironment definition                                               *
  6. *                                                                             *
  7. *           Copyright (c) 1995, Ray Dream, Inc. All rights reserved.          *
  8. *                                                                             *
  9. \*****************************************************************************/
  10.  
  11. #ifndef __I3DSHAB__
  12. #define __I3DSHAB__
  13.  
  14. #ifndef __3DCOTYPE__
  15. #include "3DCoType.h"
  16. #endif
  17.  
  18. //****** Globally Unique Ids *************************************************
  19.  
  20. DEFINE_GUID(IID_I3DShEnvironment, 0xA0629720L, 0x3A0D, 0x101C, 0x88, 0x5F, 0x04, 0x02, 0x1C, 0x00, 0x70, 0x02);
  21.  
  22.  
  23. /*****************************************************************************\
  24. *  I3DShEnvironment                                                           *
  25. *                                                                             *
  26. *  Environment as seen from other extensions                                  *
  27. *                                                                             *
  28. \*****************************************************************************/
  29.  
  30. //C++ API Only !!!!!
  31.  
  32. DECLARE_INTERFACE_(I3DShEnvironment, IUnknown) {
  33.     STDMETHOD(SegmentFilter) (const VECTOR3D &beg,const VECTOR3D &end,COLOR3D &filterOut) PURE;
  34.     STDMETHOD(DirectionFilter) (const VECTOR3D &origin,const VECTOR3D &direction, COLOR3D &filterOut) PURE;
  35.     STDMETHOD(GetBackdropColor) (const VECTOR2D &screenPoint,const BOX2D &screenMinMax, COLOR3D &resultColor) PURE;
  36.     STDMETHOD(GetEnvironmentColor) (const VECTOR3D &direction, COLOR3D &resultColor, BOOLEAN &result) PURE;
  37.     STDMETHOD_(Boolean, HasAtmosphere) () const PURE;
  38.     STDMETHOD_(Boolean, HasBackdrop) () const PURE;
  39.     STDMETHOD_(Boolean, HasBackground) () const PURE;
  40.     };
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47. #endif
  48.